var code=[
    [1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1],
    [1,0,0,0,0,0,1,0,0,0,0,0,0,0,1,0,0,0,0,0,1],
    [1,0,1,1,1,0,1,0,0,0,0,0,0,0,1,0,1,1,1,0,1],
    [1,0,1,1,1,0,1,0,0,0,0,0,0,0,1,0,1,1,1,0,1],
    [1,0,1,1,1,0,1,0,0,0,0,0,0,0,1,0,1,1,1,0,1],
    [1,0,0,0,0,0,1,0,0,0,0,0,0,0,1,0,0,0,0,0,1],
    [1,1,1,1,1,1,1,0,1,0,1,0,1,0,1,1,1,1,1,1,1],
    [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],
    [0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0],
    [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],
    [0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0],
    [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],
    [0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0],
    [0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0],
    [1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0],
    [1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0],
    [1,0,1,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0],
    [1,0,1,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0],
    [1,0,1,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0],
    [1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0],
    [1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0],
];

if(os.platform()=="windows")
    system("chcp 65001");
var texture=["  ","██"];
for(var i=0;i<size(code);i+=1){
    for(var j=0;j<size(code[i]);j+=1)
        print(texture[code[i][j]]);
    print('\n');
}

var transfer=func(s){
    var mode=[0,1,0,0];
    println(mode);

    var len=size(s);
    var vec=[0,0,0,0,0,0,0,0,0];
    for(var i=8;i>=0;i-=1){
        vec[i]=bits.u32_and(1,len);
        len=int(len/2);
    }
    println(vec);

    var bitstr=[];
    for(var i=0;i<size(s);i+=1){
        var tmp=[0,0,0,0,0,0,0,0];
        var c=s[i];
        for(var j=7;j>=0;j-=1){
            tmp[j]=bits.u32_and(1,c);
            c=int(c/2);
        }
        foreach(var j;tmp)
            append(bitstr,j);
    }
    println(bitstr);

    var end=[0,0,0,0];
    println(end);
}

transfer("github.com/ValKmjolnir");